import { DateText, WaveCard } from '..';

const Index = ({
  children,
  style,
  clasName,
  isShowDate = true,
  dateTextProps = {},
  isShowWave = true,
  waveProps = {},
}: any) => {
  return (
    <div style={style} className={clasName}>
      {isShowWave && <WaveCard {...waveProps}></WaveCard>}
      {isShowDate && <DateText {...dateTextProps}></DateText>}
      {children}
    </div>
  );
};
export default Index;
